
package com.roc.web.timer;


import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Component;

import com.roc.util.ApplicationContextUtils;



@Component
public class SettingLoadTask extends AbstractTask {
	static Logger logger = LogManager.getLogger(SettingLoadTask.class);

	
	CalcuUtil calcuUtil=null;
	@Override
	protected void execute() {
		try{
			if(calcuUtil==null){
				calcuUtil = (CalcuUtil) ApplicationContextUtils
				.getBean("calcuUtil");
			}
			
			calcuUtil.excuSettingLoadPro();
		}catch(Exception e){
			logger.debug(e.getMessage(), e);
			e.printStackTrace();
		}
	}

}
